package cn.net.xyan.easy.gwt.client.event;


import com.google.gwt.user.client.ui.Widget;

/**
 * Created by zarra on 16/2/17.
 */
public class Action<T> {
    Widget widget;
    T data;

    public Action(Widget widget, T data) {
        this.widget = widget;
        this.data = data;
    }

    public Widget getWidget() {
        return widget;
    }

    public T getData() {
        return data;
    }
}
